# this is example-file: configure.ac

# initial information about the project
AC_INIT([Falling],[0.1],[test@falling.org])

# check if the source folder is correct
#AC_CONFIG_SRCDIR([src/bin/helloWorld.cpp])

# Checks for programs

# check for C++ compiler and the library compiler
#AC_PROG_LIBTOOL
AC_PROG_CXX
AC_PROG_RANLIB

# automake initialisation (mandatory) and check for minimal automake API version 1.9
AM_INIT_AUTOMAKE([1.9])

# use the C++ compiler for the following checks
AC_LANG([C++])

# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([string])
#AC_CHECK_HEADERS([iostream])

# Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_SIZE_T

# distribute additional compiler and linker flags
# --> set these variables instead of CXXFLAGS or LDFLAGS
AC_SUBST([AM_CXXFLAGS])
AC_SUBST([AM_LDFLAGS])
AC_SUBST([LIBS])

# files to generate via autotools (.am or .in source files)
AC_CONFIG_FILES([Makefile])
AC_CONFIG_FILES([Falling/Makefile])
AC_CONFIG_FILES([FallingDemo/Makefile])

# generate the final Makefile etc.
AC_OUTPUT
